package com.javasm.adminapi.module.system.dto;


import com.javasm.adminapi.module.system.page.PageQuery;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @className: UserQueryDTO
 * @description:
 * @author: zcx
 * @date: 2025/10/17 16:56
 * @version: 0.1
 * @since: jdk17
 */
@Data
public class UserQueryDTO extends PageQuery {
    private String name;
    private String phone;
    private Integer roleId;
    private Integer status;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate start;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;
    private Integer total;
}
